package shapesBefore;

import java.util.*;


public class ShapesRunner {


	public static void main(String[] args) {
		//create a collection of shapes
		ArrayList<Shape> shapesCollection = new ArrayList<Shape>();
		
		//add a circle
		Circle shape1 = new Circle(); 		
		shapesCollection.add(shape1);
		
		//add another circle
		Circle shape2 = new Circle(); 		
		shapesCollection.add(shape2);
		
		
		//add a square
		Square shape3 = new Square(); 		
		shapesCollection.add(shape3);
		
		//now draw them
		DrawingTool drawTool = new DrawingTool();
		drawTool.drawAllShapes(shapesCollection);
	}

}
